﻿Public Class ChuNhaDTO
    Private _cmnd As String
    Private _ten As String
    Private _diachi As String
    Private _dt As String
    Private _mln As String

    Public Property CMNDChuNha() As String
        Get
            Return _cmnd
        End Get
        Set(ByVal value As String)
            _cmnd = value
        End Set
    End Property
    Public Property TenChuNha() As String
        Get
            Return _ten
        End Get
        Set(ByVal value As String)
            _ten = value
        End Set
    End Property
    Public Property DiaChiChuNha() As String
        Get
            Return _diachi
        End Get
        Set(ByVal value As String)
            _diachi = value
        End Set
    End Property

    Public Property DienThoaiChuNha() As String
        Get
            Return _dt
        End Get
        Set(ByVal value As String)
            _dt = value
        End Set
    End Property
    Public Property MaLoaiNha() As String
        Get
            Return _mln
        End Get
        Set(ByVal value As String)
            _mln = value
        End Set
    End Property
    Public Sub New(ByVal cmnd As String, ByVal ten As String, ByVal diachi As String, ByVal sdt As String, ByVal mln As String)
        Me._cmnd = cmnd
        Me._ten = ten
        Me._diachi = diachi
        Me._dt = sdt
        Me._mln = mln
    End Sub

    Public Sub New(ByVal cmnd As String)
        Me._cmnd = cmnd
    End Sub
End Class
